def isorderline(li):
    if len(li) <= 1:
        return True
    ratio = li[1]-li[0]
    for i in range(1, len(li)):
        if li[i]-li[i-1] != ratio:
            return False
    return True
